backfire: swconfig: Add cpu port index to help output. (backport of 20939)
authorGabor Juhos <[email protected]>
Fri, 16 Apr 2010 20:30:06 +0000 (20:30 +0000)
committerGabor Juhos <[email protected]>
Fri, 16 Apr 2010 20:30:06 +0000 (20:30 +0000)
commit10514eef6f48c7a8a6d0b68f4c3f2a7c76b77c8c
treebfbd4582cecd31f87b79863db16698bf7c2d6abe
parent76764e69ff09482ffa11667e3d692cc6fc9fc17f
backfire: swconfig: Add cpu port index to help output. (backport of 20939)

Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.

This could allow e.g. luci to get a rough overview of the layout of
the switch.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 20948
package/swconfig/src/cli.c
package/swconfig/src/swlib.c
package/swconfig/src/swlib.h
target/linux/generic-2.6/files/drivers/net/phy/swconfig.c
target/linux/generic-2.6/files/include/linux/switch.h